Skip to content

Add CI workflow to check for unapproved Go dependency licenses #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 15, 2022
Merged

Add CI workflow to check for unapproved Go dependency licenses #24

merged 1 commit into from
Sep 15, 2022

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Sep 15, 2022

A task and GitHub Actions workflow are provided here for checking the license types of Go project dependencies.

On every push and pull request that affects relevant files, the CI workflow will use Licensed to check:

  • If the dependency licenses cache is up to date
  • If any of the project's dependencies have an unapproved license type.

Approval can be based on:


At the current time, the project does not have any external Go package dependencies, so no license dependency license metadata cache is needed. The check is still valuable because it will provide verification of any dependencies which might be introduced by future contributions.

A task and GitHub Actions workflow are provided here for checking the license types of Go project dependencies.

On every push and pull request that affects relevant files, the CI workflow will check:

- If the dependency licenses cache is up to date
- If any of the project's dependencies have an unapproved license type.

Approval can be based on:

- Universally allowed license type
- Individual dependency
@per1234 per1234 added type: enhancement Proposed improvement topic: infrastructure Related to project infrastructure labels Sep 15, 2022
@per1234 per1234 self-assigned this Sep 15, 2022
@per1234 per1234 linked an issue Sep 15, 2022 that may be closed by this pull request
Copy link
Contributor

@MatteoPologruto MatteoPologruto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Per!

@per1234 per1234 merged commit f84f9e7 into arduino:master Sep 15, 2022
@per1234 per1234 deleted the check-dependencies branch September 15, 2022 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bring CI up to tooling standard for the arduinoOTA repo
2 participants